<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="errors" class="jp.ddo.trismegistos.bean.ErrorInfo" scope="request"/>
<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" href="<%= request.getContextPath() %>/css/normalize.css" type="text/css" />
		<link rel="stylesheet" href="<%= request.getContextPath() %>/css/rs.css" type="text/css" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Standalone Nofriends System - エントリ入力</title>
	</head>
	<body>
		<header>
		</header>
		<nav>
		</nav>
		<div class="entryLayout">
			<div>
				<h3>エントリ入力</h3>
			</div>
			<c:forEach var="error" items="${errors.errorMsg}">
				<div class="error">
					${error}
				</div>
			</c:forEach>
			<form action="confirm" method="POST">
				<div class="bottom10">
					タイトル
				</div>
				<div class="">
					<input type="text" name="title" value="<c:out value="${title}" />" maxlength="30"  class= "entryTitle">
				</div>
				<div class="bottom10">
					本文
				</div>
				<div class="">
					<textarea name="text" class="entryText"><c:out value="${text}" /></textarea>
				</div>
				<div class="">
					<input type="submit" value="確認">
				</div>
				<input type="hidden" name="return" value="entry/input.jsp">
			</form>
		</div>
		<%@ include file="../footer.jsp" %>
	</body>
</html>
 